package cloudLibrary;

import java.util.HashSet;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;


@PersistenceCapable
public class Users {
    @PrimaryKey
    @Persistent
    private String email;

    @Persistent
    private String name;

    @Persistent
    private long tel;
    
	@Persistent
	private HashSet<Key> borrowedItems;

    public Users(String email, String name, long tel) {
        this.email = email;
        this.name = name;
        this.tel = tel;
    }
    
    
    
	public HashSet<Key> getItems() {
		return borrowedItems;
	}



	public void setItems(HashSet<Key> items) {
		this.borrowedItems = items;
	}



	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getTel() {
		return tel;
	}

	public void setTel(long tel) {
		this.tel = tel;
	}

    
}